package suncertify.application.exceptions;

/**
 * Thrown when the server application fails to make its data unavailable to the client application(s). The server
 * application operates in two modes, 'started' and 'stopped'. When the server is started, the data is available for
 * client requests, when the server is stopped the data is not available for client requests. This exception is thrown
 * when the server fails to switch from 'started' status to 'stopped' status.
 * 
 */
public class ServerStopException extends Exception {

    /**
     * Automatic generated serialization version ID.
     */
    private static final long serialVersionUID = 4530677150017469297L;

    /**
     * Constructs a <code>ServerStopException</code> with the specified message and cause.
     * 
     * @param message
     *            The detail message (which is saved for later retrieval by the {@link #getMessage()} method)
     * 
     * @param cause
     *            The cause (which is saved for later retrieval by the {@link #getCause()} method). (A null value is
     *            permitted, and indicates that the cause is nonexistent or unknown.)
     */
    public ServerStopException(String message, Throwable cause) {
	super(message, cause);
    }
}
